const watch = require('gulp-watch');
const gulp = require('gulp');
const electron = require('electron-connect').server.create()

gulp.task('watch', function () {
    electron.start();
    gulp.watch(['./main/*.js'], electron.restart);
    gulp.watch(['./main/**/*.js'], electron.restart);
    // gulp.watch(['./ui/**/*.{js,css},./ui/index.html'], electron.reload);
});
